package game.adm.dao.factory;

import game.adm.dao.PayDAO;
import game.adm.dao.impl.PayDAOImpl;
import projectx.core.base.ProjectXSystemException;

public class PayFactory {

	private static PayFactory factory = new PayFactory();

	public static void setFactory(PayFactory factory) {
		PayFactory.factory = factory;
	}

	public static PayFactory getFactory() {
		return factory;
	}

	public PayDAO getPayDAO() throws ProjectXSystemException {
		return new PayDAOImpl();
	}
}
